Public Class KhachHang_Crt
#Region "Attributes"
    Private m_maKH As Integer
    Private m_tenKH As String
    Private m_CMND As String
    Private m_soDT As String
    Private m_diaChi As String
    Private m_ngayThueTu As Date
    Private m_ngayThueDen As Date
    Private m_soPhong As Integer

    Private m_CheckTenKH As Boolean
    Private m_CheckCMND As Boolean
    Private m_CheckSoDT As Boolean
    Private m_CheckDiaChi As Boolean
    Private m_CheckNgayThue As Boolean
    Private m_CheckSoPhong As Boolean
#End Region

#Region "Properties"


    Public Property MaKH() As Integer
        Get
            Return m_maKH
        End Get
        Set(ByVal value As Integer)
            m_maKH = value

        End Set
    End Property
    Public Property TenKH() As String
        Get
            Return m_tenKH
        End Get
        Set(ByVal value As String)
            m_tenKH = value

        End Set
    End Property
    Public Property CMND() As String
        Get
            Return m_CMND
        End Get
        Set(ByVal value As String)
            m_CMND = value

        End Set
    End Property
    Public Property SoDT() As String
        Get
            Return m_soDT
        End Get
        Set(ByVal value As String)
            m_soDT = value

        End Set
    End Property
   
    Public Property DiaChi() As String
        Get
            Return m_diaChi
        End Get
        Set(ByVal value As String)
            m_diaChi = value

        End Set
    End Property
    Public Property NgayThueTu() As Date
        Get
            Return m_ngayThueTu
        End Get
        Set(ByVal value As Date)
            m_ngayThueTu = value

        End Set
    End Property
    Public Property NgayThueDen() As Date
        Get
            Return m_ngayThueDen
        End Get
        Set(ByVal value As Date)
            m_ngayThueDen = value

        End Set
    End Property
   
    Public Property SoPhong() As Integer
        Get
            Return m_soPhong
        End Get
        Set(ByVal value As Integer)
            m_soPhong = value

        End Set
    End Property
    Public Property CheckTenKH() As Boolean
        Get
            Return m_CheckTenKH
        End Get
        Set(ByVal value As Boolean)
            m_CheckTenKH = value
        End Set
    End Property
    Public Property CheckCMND() As Boolean
        Get
            Return m_CheckCMND
        End Get
        Set(ByVal value As Boolean)
            m_CheckCMND = value
        End Set
    End Property

    Public Property CheckSoDT() As Boolean
        Get
            Return m_CheckSoDT
        End Get
        Set(ByVal value As Boolean)
            m_CheckSoDT = value
        End Set
    End Property

    Public Property CheckDiaChi() As Boolean
        Get
            Return m_CheckDiaChi
        End Get
        Set(ByVal value As Boolean)
            m_CheckDiaChi = value
        End Set
    End Property
    Public Property CheckNgayThue() As Boolean
        Get
            Return m_CheckNgayThue
        End Get
        Set(ByVal value As Boolean)
            m_CheckNgayThue = value
        End Set
    End Property
    Public Property CheckSoPhong() As Boolean
        Get
            Return m_CheckSoPhong
        End Get
        Set(ByVal value As Boolean)
            m_CheckSoPhong = value
        End Set
    End Property
#End Region
#Region "Contructors"

    Public Sub New()
        MaKH = 0
        TenKH = ""
        CMND = ""
        SoDT = ""
        DiaChi = ""
        NgayThueTu = New Date(1900, 1, 1)
        NgayThueDen = Date.Today
        SoPhong = 0
        CheckTenKH = False
        CheckCMND = False
        CheckSoDT = False
        CheckDiaChi = False
        CheckNgayThue = False
        CheckSoPhong = False


    End Sub
#End Region
End Class
